package com.cskaoyan.service.mallservice;

import com.cskaoyan.bean.mallbean.Category;
import com.cskaoyan.bo.mallbo.CategoryCreateBo;
import com.cskaoyan.bo.mallbo.CategoryDeleteBo;
import com.cskaoyan.bo.mallbo.CategoryUpdateBo;
import com.cskaoyan.vo.mallvo.CategoryCreateVo;
import com.cskaoyan.vo.mallvo.CategoryListVo;
import com.cskaoyan.vo.mallvo.Categoryl1Vo;
import com.cskaoyan.vo.wx.WxCatalogCurrentVo;
import com.cskaoyan.vo.wx.WxCatalogIndexVo;

import java.util.List;

/**
 * @author hsp
 * @date 2021/5/10 11:23
 */
public interface CategoryService {
    List<CategoryListVo> list();

    CategoryCreateVo createCategory(CategoryCreateBo categoryCreateBo);

    List<Categoryl1Vo> l1();

    void updateCategory(CategoryUpdateBo categoryUpdateBo);

    void logicDeleteCategory(CategoryDeleteBo categoryDeleteBo);

    WxCatalogIndexVo index();

    WxCatalogCurrentVo current(Integer id);
}
